package com.mayi.zds.service;

import com.mayi.zds.entity.OrderItem;

import java.util.List;

/**
 * @ClassName OrderItemDAO
 * @Author zhong
 * @Date 2019/12/24 0024 下午 4:19
 * @Version 1.0
 */
public interface OrderItemService {
    /**
     * 增加订单项
     * @Author zhong
     * @Date 2019/12/24 16:40:12
     * @param orderItem
     * @return void
     **/
    public void add(OrderItem orderItem);

    /**
     * 根据订单ID获取订单详细列表
     * @Author zhong
     * @Date 2019/12/04 20:43:59
     * @param oid 订单ID
     * @return java.util.List<com.zhong.myshop.entity.OrderDetail>
     **/
    public List<OrderItem> getListByOrderId(String oid);
}
